﻿using System;
using System.Data;
using System.Collections.Generic;

using Com.Framework.Data;
using Com.Library.DB;

namespace Com.Library.DB.Menu
{
	internal class MenuCreate : DBDataReader<DataEntity, DataEntity>
	{
		public MenuCreate()
			: base(new ConnectionString(), "TSP_Menu_Create")
		{
		}

		protected override void ParameterInitialize()
		{
			AddParameter("n4CategoryNo", SqlDbType.Int, 4, SqlDataInOut.Input);
			AddParameter("strEngName", SqlDbType.NVarChar, 200, SqlDataInOut.Input);
			AddParameter("strKorName", SqlDbType.NVarChar, 200, SqlDataInOut.Input);
			AddParameter("strDescription", SqlDbType.NVarChar, 400, SqlDataInOut.Input);
			AddParameter("strSmallImageURL", SqlDbType.VarChar, 200, SqlDataInOut.Input);
			AddParameter("strViewImageURL", SqlDbType.VarChar, 200, SqlDataInOut.Input);
			AddParameter("strManagerName", SqlDbType.NVarChar, 100, SqlDataInOut.Input);
		}
	}
}